pull: Don't automatically uncompress data
authorColin Walters <walters@verbum.org>
Fri, 24 Feb 2012 02:52:15 +0000 (21:52 -0500)
committerColin Walters <walters@verbum.org>
Fri, 24 Feb 2012 02:52:15 +0000 (21:52 -0500)
This totally breaks when the file we're trying to request was already
gzip'd.  We don't want to uncompress e.g. man pages because that
breaks content-addressed storage.

src/ostree/ostree-pull.c

index 57450083cfb1943b1a900f8f88f0eb4aa3a17c78..c088cb5396ead06a760fa458b9814bdb311948dd 100644 (file)
@@ -520,7 +520,6 @@ ostree_builtin_pull (int argc, char **argv, GFile *repo_path, GError **error)
   
   soup = soup_session_sync_new_with_options (SOUP_SESSION_USER_AGENT, "ostree ",
                                              SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_GNOME_FEATURES_2_26,
-                                             SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_CONTENT_DECODER,
                                              SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_COOKIE_JAR,
                                              NULL);
   if (!fetch_uri (repo, soup, target_uri, "ref-", &tempf, error))